package org.csu.newpetstoreback.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("comment")
public class Comment {

    @TableId(value = "commentid", type = IdType.INPUT)
    private int commentId;

    @TableField(value = "itemid")
    private String itemId;

    private String username;

    private String content;

    @TableField(value = "commentTime")
    private String commentTime;

}
